package com.itqf.ipmsys.mapper;

import com.itqf.ipmsys.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author corn
 * @since 2021-09-22
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 根据roleids查询权限集合
     * @param roleIds
     * @return
     */
    List<Permission> selectPermissionsByRoleIds(List<Integer> roleIds);
}
